Change permissions string to include version number of latest.
This commit is contained in:
		
							parent
							
								
									7849182f98
								
							
						
					
					
						commit
						8c41f18a1b
					
				| @ -35,8 +35,7 @@ | ||||
|         android:layout_height="wrap_content" | ||||
|         android:singleLine="true" | ||||
|         android:textSize="14sp" | ||||
|         android:textStyle="bold" | ||||
|         android:text="@string/permissions" /> | ||||
|         android:textStyle="bold" /> | ||||
|      | ||||
|     <TextView | ||||
|         android:id="@+id/permissions_list" | ||||
|  | ||||
| @ -163,7 +163,7 @@ | ||||
|     <string name="status_processing_xml">Processing application\n%2$d of %3$d from\n%1$s</string> | ||||
|     <string name="status_connecting_to_repo">Connecting to\n%1$s</string> | ||||
|     <string name="status_checking_compatibility">Checking all apps compatibility with your device…</string> | ||||
|     <string name="permissions">Permissions</string> | ||||
|     <string name="permissions">Permissions for v%s</string> | ||||
|     <string name="showPermissions">Show permissions</string> | ||||
|     <string name="showPermissions_long">Display a list of permissions an app needs</string> | ||||
| 
 | ||||
|  | ||||
| @ -462,6 +462,9 @@ public class AppDetails extends ListActivity { | ||||
|             } else { | ||||
|                 tv.setText("NONE"); | ||||
|             } | ||||
|             tv = (TextView) infoView.findViewById(R.id.permissions); | ||||
|             tv.setText(getResources().getString( | ||||
|                     R.string.permissions, app.apks.get(0).version)); | ||||
|         } else { | ||||
|             tv.setVisibility(View.GONE); | ||||
|             tv = (TextView) infoView.findViewById(R.id.permissions); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Peter Serwylo
						Peter Serwylo